import { createApp } from 'vue'
import 'font-awesome/css/font-awesome.min.css'
import '@/assets/css/reset.css'
//element-plus
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import 'element-plus/dist/index.css'
// 本地SVG图标
import 'virtual:svg-icons-register';
import { setupStores } from '@/utils/pinia/index'    //pinia设定
import router from "@/utils/router/index"
import App from './App.vue'

const app = createApp(App)
setupStores(app)
app.use(ElementPlus, {
    locale: zhCn
})
app.use(router)
app.mount('#app')